Add GtkButton:can-shrink
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 24 Feb 2023 12:28:24 +0000 (12:28 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 14 Apr 2023 14:00:07 +0000 (15:00 +0100)
commit4ea818fee628b4207b73bc5a474d2aeb0f49b1e2
tree78c6beb2c6376388461850a319feb9889898c733
parent64a196929351d8fb33f621eee9b643caece03caf
Add GtkButton:can-shrink

For certain kinds of layouts, especially ones where one or both sizes of
a top level is constrained by physical limits, it's acceptable to have
buttons that rely on the minimum size of their contents, rather than the
natural size. It is left to the application authors, or the localization
teams, to ensure that things like translations and font sizes do not
result in a broken UI.
gtk/gtkbutton.c
gtk/gtkbutton.h